<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QCPBars Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_q_c_p_bars-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QCPBars Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A plottable representing a bar chart in a plot.  
 <a href="class_q_c_p_bars.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for QCPBars:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_q_c_p_bars.png" usemap="#QCPBars_map" alt=""/>
  <map id="QCPBars_map" name="QCPBars_map">
<area href="class_q_c_p_abstract_plottable.html" title="The abstract base class for all data representing objects in a plot. " alt="QCPAbstractPlottable" shape="rect" coords="0,112,134,136"/>
<area href="class_q_c_p_layerable.html" title="Base class for all drawable objects. " alt="QCPLayerable" shape="rect" coords="0,56,134,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a65dbbf1ab41cbe993d71521096ed4649"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649">WidthType</a> { <a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649ab74315c9aa77df593c58dd25dfc0de35">wtAbsolute</a>, 
<a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649a90bc09899361ad3422ff277f7c790ffe">wtAxisRectRatio</a>, 
<a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649aad3cc60ae1bfb1160a30237bee9eaf10">wtPlotCoords</a>
 }</td></tr>
<tr class="separator:a65dbbf1ab41cbe993d71521096ed4649"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a64006999ad9dff308f40df41cef176ad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a64006999ad9dff308f40df41cef176ad">QCPBars</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *keyAxis, <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *valueAxis)</td></tr>
<tr class="separator:a64006999ad9dff308f40df41cef176ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe7eb3987d8711f45829db879aee2280"><td class="memItemLeft" align="right" valign="top"><a id="abe7eb3987d8711f45829db879aee2280"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>width</b> () const</td></tr>
<tr class="separator:abe7eb3987d8711f45829db879aee2280"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c103fb405a45f47853e0345f0c6e708"><td class="memItemLeft" align="right" valign="top"><a id="a4c103fb405a45f47853e0345f0c6e708"></a>
<a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649">WidthType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>widthType</b> () const</td></tr>
<tr class="separator:a4c103fb405a45f47853e0345f0c6e708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eef59840b68d205df4e0c3df5f97633"><td class="memItemLeft" align="right" valign="top"><a id="a5eef59840b68d205df4e0c3df5f97633"></a>
<a class="el" href="class_q_c_p_bars_group.html">QCPBarsGroup</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>barsGroup</b> () const</td></tr>
<tr class="separator:a5eef59840b68d205df4e0c3df5f97633"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29a7b3b86f80b2a04bd1f9ec0ebaf422"><td class="memItemLeft" align="right" valign="top"><a id="a29a7b3b86f80b2a04bd1f9ec0ebaf422"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>baseValue</b> () const</td></tr>
<tr class="separator:a29a7b3b86f80b2a04bd1f9ec0ebaf422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b58664864b141f45e02044a855b3213"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_bars.html">QCPBars</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a1b58664864b141f45e02044a855b3213">barBelow</a> () const</td></tr>
<tr class="separator:a1b58664864b141f45e02044a855b3213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab97f2acd9f6cb40d2cc3c33d278f0e78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_bars.html">QCPBars</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#ab97f2acd9f6cb40d2cc3c33d278f0e78">barAbove</a> () const</td></tr>
<tr class="separator:ab97f2acd9f6cb40d2cc3c33d278f0e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a185bcee5f2d96fbc336a2d270687d016"><td class="memItemLeft" align="right" valign="top"><a id="a185bcee5f2d96fbc336a2d270687d016"></a>
<a class="el" href="qcustomplot_8h.html#aa846c77472cae93def9f1609d0c57191">QCPBarDataMap</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> () const</td></tr>
<tr class="separator:a185bcee5f2d96fbc336a2d270687d016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afec6116579d44d5b706e0fa5e5332507"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#afec6116579d44d5b706e0fa5e5332507">setWidth</a> (double width)</td></tr>
<tr class="separator:afec6116579d44d5b706e0fa5e5332507"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcaa3b41281bb2c0f7949b341592fcc0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#adcaa3b41281bb2c0f7949b341592fcc0">setWidthType</a> (<a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649">WidthType</a> widthType)</td></tr>
<tr class="separator:adcaa3b41281bb2c0f7949b341592fcc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedd1709061f0b307c47ddb45e172ef9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#aedd1709061f0b307c47ddb45e172ef9a">setBarsGroup</a> (<a class="el" href="class_q_c_p_bars_group.html">QCPBarsGroup</a> *barsGroup)</td></tr>
<tr class="separator:aedd1709061f0b307c47ddb45e172ef9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a574ec7eb7537566df1a28ff085d75623"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a574ec7eb7537566df1a28ff085d75623">setBaseValue</a> (double baseValue)</td></tr>
<tr class="separator:a574ec7eb7537566df1a28ff085d75623"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3435aab19e0a49e4e7b41bd36a8d96b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#aa3435aab19e0a49e4e7b41bd36a8d96b">setData</a> (<a class="el" href="qcustomplot_8h.html#aa846c77472cae93def9f1609d0c57191">QCPBarDataMap</a> *data, bool copy=false)</td></tr>
<tr class="separator:aa3435aab19e0a49e4e7b41bd36a8d96b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3efded5df4a82ecb201f7c28099fa2e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a3efded5df4a82ecb201f7c28099fa2e5">setData</a> (const QVector&lt; double &gt; &amp;key, const QVector&lt; double &gt; &amp;value)</td></tr>
<tr class="separator:a3efded5df4a82ecb201f7c28099fa2e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69fc371346980f19177c3d1ecdad78ee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a69fc371346980f19177c3d1ecdad78ee">moveBelow</a> (<a class="el" href="class_q_c_p_bars.html">QCPBars</a> *bars)</td></tr>
<tr class="separator:a69fc371346980f19177c3d1ecdad78ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac22e00a6a41509538c21b04f0a57318c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#ac22e00a6a41509538c21b04f0a57318c">moveAbove</a> (<a class="el" href="class_q_c_p_bars.html">QCPBars</a> *bars)</td></tr>
<tr class="separator:ac22e00a6a41509538c21b04f0a57318c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f29cf08615040993209147fa68de3f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a1f29cf08615040993209147fa68de3f2">addData</a> (const <a class="el" href="qcustomplot_8h.html#aa846c77472cae93def9f1609d0c57191">QCPBarDataMap</a> &amp;dataMap)</td></tr>
<tr class="separator:a1f29cf08615040993209147fa68de3f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a142158b1addefd53259002dd3ab22c3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a142158b1addefd53259002dd3ab22c3a">addData</a> (const <a class="el" href="class_q_c_p_bar_data.html">QCPBarData</a> &amp;data)</td></tr>
<tr class="separator:a142158b1addefd53259002dd3ab22c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a684dd105403a5497fda42f2094fecbb7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a684dd105403a5497fda42f2094fecbb7">addData</a> (double key, double value)</td></tr>
<tr class="separator:a684dd105403a5497fda42f2094fecbb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3679a0a9decab0fa03f8f4c6e3344d52"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a3679a0a9decab0fa03f8f4c6e3344d52">addData</a> (const QVector&lt; double &gt; &amp;keys, const QVector&lt; double &gt; &amp;values)</td></tr>
<tr class="separator:a3679a0a9decab0fa03f8f4c6e3344d52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d12779a3fad4820aad2c428f368298d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a9d12779a3fad4820aad2c428f368298d">removeDataBefore</a> (double key)</td></tr>
<tr class="separator:a9d12779a3fad4820aad2c428f368298d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99de6e7abbbf03fb41fa604c7f08aa8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a99de6e7abbbf03fb41fa604c7f08aa8b">removeDataAfter</a> (double key)</td></tr>
<tr class="separator:a99de6e7abbbf03fb41fa604c7f08aa8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fe9bcb57d670defea1bb65cadf43765"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a1fe9bcb57d670defea1bb65cadf43765">removeData</a> (double fromKey, double toKey)</td></tr>
<tr class="separator:a1fe9bcb57d670defea1bb65cadf43765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a837cc9848ad3edd40a6130b508493f93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a837cc9848ad3edd40a6130b508493f93">removeData</a> (double key)</td></tr>
<tr class="separator:a837cc9848ad3edd40a6130b508493f93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11dbbd707132f07f862dff13c5789c2b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a11dbbd707132f07f862dff13c5789c2b">clearData</a> ()</td></tr>
<tr class="separator:a11dbbd707132f07f862dff13c5789c2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62d66cc8eedca6bedfc1f6513164d418"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_bars.html#a62d66cc8eedca6bedfc1f6513164d418">selectTest</a> (const QPointF &amp;pos, bool onlySelectable, QVariant *details=0) const</td></tr>
<tr class="separator:a62d66cc8eedca6bedfc1f6513164d418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_q_c_p_abstract_plottable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_q_c_p_abstract_plottable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a></td></tr>
<tr class="memitem:af78a036e40db6f53a31abadc5323715a inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#af78a036e40db6f53a31abadc5323715a">QCPAbstractPlottable</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *keyAxis, <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *valueAxis)</td></tr>
<tr class="separator:af78a036e40db6f53a31abadc5323715a inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52c226eefcb1920240eeabae574d28c0 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a52c226eefcb1920240eeabae574d28c0"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>name</b> () const</td></tr>
<tr class="separator:a52c226eefcb1920240eeabae574d28c0 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a022717896dc57b638a7b5a7be7212ba9 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a022717896dc57b638a7b5a7be7212ba9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiasedFill</b> () const</td></tr>
<tr class="separator:a022717896dc57b638a7b5a7be7212ba9 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a795370db6b1309de0ab60b633efb5ec2 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a795370db6b1309de0ab60b633efb5ec2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiasedScatters</b> () const</td></tr>
<tr class="separator:a795370db6b1309de0ab60b633efb5ec2 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add06e122d84deb9f451ace9bb8ad9c96 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="add06e122d84deb9f451ace9bb8ad9c96"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiasedErrorBars</b> () const</td></tr>
<tr class="separator:add06e122d84deb9f451ace9bb8ad9c96 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5972efc31344e5a7a78ab4f8864b2d3 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="ad5972efc31344e5a7a78ab4f8864b2d3"></a>
QPen&#160;</td><td class="memItemRight" valign="bottom"><b>pen</b> () const</td></tr>
<tr class="separator:ad5972efc31344e5a7a78ab4f8864b2d3 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafdfd0946b18364321ffce01cc6045a0 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="aafdfd0946b18364321ffce01cc6045a0"></a>
QPen&#160;</td><td class="memItemRight" valign="bottom"><b>selectedPen</b> () const</td></tr>
<tr class="separator:aafdfd0946b18364321ffce01cc6045a0 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a893b4896dfd92b68b05b2600b80f5826 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a893b4896dfd92b68b05b2600b80f5826"></a>
QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>brush</b> () const</td></tr>
<tr class="separator:a893b4896dfd92b68b05b2600b80f5826 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe5f3f74b09e89713ba39da04079a337 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="afe5f3f74b09e89713ba39da04079a337"></a>
QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>selectedBrush</b> () const</td></tr>
<tr class="separator:afe5f3f74b09e89713ba39da04079a337 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cdd6f0dd5e9a979037f86b4000d9cfe inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a2cdd6f0dd5e9a979037f86b4000d9cfe"></a>
<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>keyAxis</b> () const</td></tr>
<tr class="separator:a2cdd6f0dd5e9a979037f86b4000d9cfe inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af47809a644a68ffd955fb30b01fb4f2f inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="af47809a644a68ffd955fb30b01fb4f2f"></a>
<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>valueAxis</b> () const</td></tr>
<tr class="separator:af47809a644a68ffd955fb30b01fb4f2f inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf896b8a213fea74440c7bc969cf6e4c inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="adf896b8a213fea74440c7bc969cf6e4c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>selectable</b> () const</td></tr>
<tr class="separator:adf896b8a213fea74440c7bc969cf6e4c inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b3b514474fe93354fc74cfc144184b4 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a0b3b514474fe93354fc74cfc144184b4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>selected</b> () const</td></tr>
<tr class="separator:a0b3b514474fe93354fc74cfc144184b4 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab79c7ba76bc7fa89a4b3580e12149f1f inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#ab79c7ba76bc7fa89a4b3580e12149f1f">setName</a> (const QString &amp;name)</td></tr>
<tr class="separator:ab79c7ba76bc7fa89a4b3580e12149f1f inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a089d6b5577120239b55c39ed27c39536 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a089d6b5577120239b55c39ed27c39536">setAntialiasedFill</a> (bool enabled)</td></tr>
<tr class="separator:a089d6b5577120239b55c39ed27c39536 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f03f067ede2ed4da6f7d0e4777a3f02 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a2f03f067ede2ed4da6f7d0e4777a3f02">setAntialiasedScatters</a> (bool enabled)</td></tr>
<tr class="separator:a2f03f067ede2ed4da6f7d0e4777a3f02 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a757beb744b96cf1855cca5ab9d3ecf52 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a757beb744b96cf1855cca5ab9d3ecf52">setAntialiasedErrorBars</a> (bool enabled)</td></tr>
<tr class="separator:a757beb744b96cf1855cca5ab9d3ecf52 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab74b09ae4c0e7e13142fe4b5bf46cac7 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#ab74b09ae4c0e7e13142fe4b5bf46cac7">setPen</a> (const QPen &amp;pen)</td></tr>
<tr class="separator:ab74b09ae4c0e7e13142fe4b5bf46cac7 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6911603cad23ab0469b108224517516f inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a6911603cad23ab0469b108224517516f">setSelectedPen</a> (const QPen &amp;pen)</td></tr>
<tr class="separator:a6911603cad23ab0469b108224517516f inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a4b92144dca6453a1f0f210e27edc74 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a7a4b92144dca6453a1f0f210e27edc74">setBrush</a> (const QBrush &amp;brush)</td></tr>
<tr class="separator:a7a4b92144dca6453a1f0f210e27edc74 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8c816874089f7a44001e8618e81a9dc inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#ae8c816874089f7a44001e8618e81a9dc">setSelectedBrush</a> (const QBrush &amp;brush)</td></tr>
<tr class="separator:ae8c816874089f7a44001e8618e81a9dc inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8524fa2994c63c0913ebd9bb2ffa3920 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a8524fa2994c63c0913ebd9bb2ffa3920">setKeyAxis</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *axis)</td></tr>
<tr class="separator:a8524fa2994c63c0913ebd9bb2ffa3920 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71626a07367e241ec62ad2c34baf21cb inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a71626a07367e241ec62ad2c34baf21cb">setValueAxis</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *axis)</td></tr>
<tr class="separator:a71626a07367e241ec62ad2c34baf21cb inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22c69299eb5569e0f6bf084877a37dc4 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">setSelectable</a> (bool selectable)</td></tr>
<tr class="separator:a22c69299eb5569e0f6bf084877a37dc4 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbd5428c2952f59d952e11ab5cd79176 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#afbd5428c2952f59d952e11ab5cd79176">setSelected</a> (bool selected)</td></tr>
<tr class="separator:afbd5428c2952f59d952e11ab5cd79176 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70f8cabfd808f7d5204b9f18c45c13f5 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a70f8cabfd808f7d5204b9f18c45c13f5">addToLegend</a> ()</td></tr>
<tr class="separator:a70f8cabfd808f7d5204b9f18c45c13f5 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac95fb2604d9106d0852ad9ceb326fe8c inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#ac95fb2604d9106d0852ad9ceb326fe8c">removeFromLegend</a> () const</td></tr>
<tr class="separator:ac95fb2604d9106d0852ad9ceb326fe8c inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1491c4a606bccd2d09e65e11b79eb882 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a1491c4a606bccd2d09e65e11b79eb882">rescaleAxes</a> (bool onlyEnlarge=false) const</td></tr>
<tr class="separator:a1491c4a606bccd2d09e65e11b79eb882 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae96b83c961e257da116c6acf9c7da308 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#ae96b83c961e257da116c6acf9c7da308">rescaleKeyAxis</a> (bool onlyEnlarge=false) const</td></tr>
<tr class="separator:ae96b83c961e257da116c6acf9c7da308 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1e408bb2d13999150c3f7f8a8579ca9 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#aa1e408bb2d13999150c3f7f8a8579ca9">rescaleValueAxis</a> (bool onlyEnlarge=false) const</td></tr>
<tr class="separator:aa1e408bb2d13999150c3f7f8a8579ca9 inherit pub_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_q_c_p_layerable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_q_c_p_layerable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a74c0fa237f29bf0e49565013fc5d1ec0">QCPLayerable</a> (<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *plot, QString targetLayer=QString(), <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> *<a class="el" href="class_q_c_p_layerable.html#aa78b7e644d2c519e1a9a6f2ac5fcd858">parentLayerable</a>=0)</td></tr>
<tr class="separator:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0297b944b6192b6d67d00bff41b6b70 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="af0297b944b6192b6d67d00bff41b6b70"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>visible</b> () const</td></tr>
<tr class="separator:af0297b944b6192b6d67d00bff41b6b70 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a473edb813a4c1929d6b6a8fe3ff3faf7 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="a473edb813a4c1929d6b6a8fe3ff3faf7"></a>
<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>parentPlot</b> () const</td></tr>
<tr class="separator:a473edb813a4c1929d6b6a8fe3ff3faf7 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa78b7e644d2c519e1a9a6f2ac5fcd858 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#aa78b7e644d2c519e1a9a6f2ac5fcd858">parentLayerable</a> () const</td></tr>
<tr class="separator:aa78b7e644d2c519e1a9a6f2ac5fcd858 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ff4862e8c784c9f5986dbc1533ba2a4 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="a5ff4862e8c784c9f5986dbc1533ba2a4"></a>
<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>layer</b> () const</td></tr>
<tr class="separator:a5ff4862e8c784c9f5986dbc1533ba2a4 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71cbd212fde2703cee076e204a475709 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="a71cbd212fde2703cee076e204a475709"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiased</b> () const</td></tr>
<tr class="separator:a71cbd212fde2703cee076e204a475709 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a> (bool on)</td></tr>
<tr class="separator:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">Q_SLOT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#ab0d0da6d2de45a118886d2c8e16d5a54">setLayer</a> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *layer)</td></tr>
<tr class="separator:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#ab25a0e7b897993b44447caee0f142083">setLayer</a> (const QString &amp;layerName)</td></tr>
<tr class="separator:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> (bool enabled)</td></tr>
<tr class="separator:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab054e88f15d485defcb95e7376f119e7 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#ab054e88f15d485defcb95e7376f119e7">realVisibility</a> () const</td></tr>
<tr class="separator:ab054e88f15d485defcb95e7376f119e7 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a42b894e34dac799f90ff3700706b31df"><td class="memItemLeft" align="right" valign="top"><a id="a42b894e34dac799f90ff3700706b31df"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>draw</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter)</td></tr>
<tr class="separator:a42b894e34dac799f90ff3700706b31df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad466f06b0fa561b6e12c92fdb8fa3c7f"><td class="memItemLeft" align="right" valign="top"><a id="ad466f06b0fa561b6e12c92fdb8fa3c7f"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>drawLegendIcon</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, const QRectF &amp;rect) const</td></tr>
<tr class="separator:ad466f06b0fa561b6e12c92fdb8fa3c7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0161ff6af64e025543c66130bcaa7ffd"><td class="memItemLeft" align="right" valign="top"><a id="a0161ff6af64e025543c66130bcaa7ffd"></a>
virtual <a class="el" href="class_q_c_p_range.html">QCPRange</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getKeyRange</b> (bool &amp;foundRange, <a class="el" href="class_q_c_p_abstract_plottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> inSignDomain=<a class="el" href="class_q_c_p_abstract_plottable.html#a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60">sdBoth</a>) const</td></tr>
<tr class="separator:a0161ff6af64e025543c66130bcaa7ffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af71b8e6ee0b800f0b79f2b6e692afee2"><td class="memItemLeft" align="right" valign="top"><a id="af71b8e6ee0b800f0b79f2b6e692afee2"></a>
virtual <a class="el" href="class_q_c_p_range.html">QCPRange</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getValueRange</b> (bool &amp;foundRange, <a class="el" href="class_q_c_p_abstract_plottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> inSignDomain=<a class="el" href="class_q_c_p_abstract_plottable.html#a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60">sdBoth</a>) const</td></tr>
<tr class="separator:af71b8e6ee0b800f0b79f2b6e692afee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adce71831920cf0426722fdd47ba34261"><td class="memItemLeft" align="right" valign="top"><a id="adce71831920cf0426722fdd47ba34261"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>getVisibleDataBounds</b> (QCPBarDataMap::const_iterator &amp;lower, QCPBarDataMap::const_iterator &amp;upperEnd) const</td></tr>
<tr class="separator:adce71831920cf0426722fdd47ba34261"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a4ca0069f003929284763caef1856a8"><td class="memItemLeft" align="right" valign="top"><a id="a3a4ca0069f003929284763caef1856a8"></a>
QPolygonF&#160;</td><td class="memItemRight" valign="bottom"><b>getBarPolygon</b> (double key, double value) const</td></tr>
<tr class="separator:a3a4ca0069f003929284763caef1856a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad87586cc5e9806740bc0e867667da409"><td class="memItemLeft" align="right" valign="top"><a id="ad87586cc5e9806740bc0e867667da409"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>getPixelWidth</b> (double key, double &amp;lower, double &amp;upper) const</td></tr>
<tr class="separator:ad87586cc5e9806740bc0e867667da409"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ffd6e043876e13e89eaa54e9f8a04b9"><td class="memItemLeft" align="right" valign="top"><a id="a0ffd6e043876e13e89eaa54e9f8a04b9"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>getStackedBaseValue</b> (double key, bool positive) const</td></tr>
<tr class="separator:a0ffd6e043876e13e89eaa54e9f8a04b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_q_c_p_abstract_plottable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_q_c_p_abstract_plottable')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a></td></tr>
<tr class="memitem:aafb817dbea97d2798967f3371a701413 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="aafb817dbea97d2798967f3371a701413"></a>
virtual QRect&#160;</td><td class="memItemRight" valign="bottom"><b>clipRect</b> () const</td></tr>
<tr class="separator:aafb817dbea97d2798967f3371a701413 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb5e4718c232a16d0fb06b00e172be9e inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="afb5e4718c232a16d0fb06b00e172be9e"></a>
virtual <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a>&#160;</td><td class="memItemRight" valign="bottom"><b>selectionCategory</b> () const</td></tr>
<tr class="separator:afb5e4718c232a16d0fb06b00e172be9e inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59a80773c5cefc05a0646ac8e1149ed5 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a59a80773c5cefc05a0646ac8e1149ed5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>applyDefaultAntialiasingHint</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter) const</td></tr>
<tr class="separator:a59a80773c5cefc05a0646ac8e1149ed5 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16aaad02456aa23a759efd1ac90c79bf inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a16aaad02456aa23a759efd1ac90c79bf"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>selectEvent</b> (QMouseEvent *event, bool additive, const QVariant &amp;details, bool *selectionStateChanged)</td></tr>
<tr class="separator:a16aaad02456aa23a759efd1ac90c79bf inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fa0d0f95560ea8b01ee13f296dab2b1 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a6fa0d0f95560ea8b01ee13f296dab2b1"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>deselectEvent</b> (bool *selectionStateChanged)</td></tr>
<tr class="separator:a6fa0d0f95560ea8b01ee13f296dab2b1 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ad84a36472441cf1f555c5683d0da93 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a7ad84a36472441cf1f555c5683d0da93"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>coordsToPixels</b> (double key, double value, double &amp;x, double &amp;y) const</td></tr>
<tr class="separator:a7ad84a36472441cf1f555c5683d0da93 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5acb50ae984eef09a7ab92315d2ad708 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a5acb50ae984eef09a7ab92315d2ad708"></a>
const QPointF&#160;</td><td class="memItemRight" valign="bottom"><b>coordsToPixels</b> (double key, double value) const</td></tr>
<tr class="separator:a5acb50ae984eef09a7ab92315d2ad708 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3903c1120ab5c27e7fa46b597ef267bd inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a3903c1120ab5c27e7fa46b597ef267bd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>pixelsToCoords</b> (double x, double y, double &amp;key, double &amp;value) const</td></tr>
<tr class="separator:a3903c1120ab5c27e7fa46b597ef267bd inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28d32c0062b9450847851ffdee1c5f69 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a28d32c0062b9450847851ffdee1c5f69"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>pixelsToCoords</b> (const QPointF &amp;pixelPos, double &amp;key, double &amp;value) const</td></tr>
<tr class="separator:a28d32c0062b9450847851ffdee1c5f69 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd790a3b229239f49067f136633a4b98 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="abd790a3b229239f49067f136633a4b98"></a>
QPen&#160;</td><td class="memItemRight" valign="bottom"><b>mainPen</b> () const</td></tr>
<tr class="separator:abd790a3b229239f49067f136633a4b98 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9147022a662e92b46c39e7cb821b0af inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="ac9147022a662e92b46c39e7cb821b0af"></a>
QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>mainBrush</b> () const</td></tr>
<tr class="separator:ac9147022a662e92b46c39e7cb821b0af inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d06a59ea23324cce6330ebf2262c0ed inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a8d06a59ea23324cce6330ebf2262c0ed"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>applyFillAntialiasingHint</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter) const</td></tr>
<tr class="separator:a8d06a59ea23324cce6330ebf2262c0ed inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac95f26b15a1e5d9c7bd2c0a46d760fc9 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="ac95f26b15a1e5d9c7bd2c0a46d760fc9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>applyScattersAntialiasingHint</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter) const</td></tr>
<tr class="separator:ac95f26b15a1e5d9c7bd2c0a46d760fc9 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0889abc8dbfd357053f40bfafff8bf7d inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a0889abc8dbfd357053f40bfafff8bf7d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>applyErrorBarsAntialiasingHint</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter) const</td></tr>
<tr class="separator:a0889abc8dbfd357053f40bfafff8bf7d inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7e992b638c8aa688abceac579bb90d7 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="af7e992b638c8aa688abceac579bb90d7"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>distSqrToLine</b> (const QPointF &amp;start, const QPointF &amp;end, const QPointF &amp;point) const</td></tr>
<tr class="separator:af7e992b638c8aa688abceac579bb90d7 inherit pro_methods_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_q_c_p_layerable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_q_c_p_layerable')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:ab20b7dbd8e0249ed61adb9622c427382 inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="ab20b7dbd8e0249ed61adb9622c427382"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>parentPlotInitialized</b> (<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *parentPlot)</td></tr>
<tr class="separator:ab20b7dbd8e0249ed61adb9622c427382 inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="a8cbe5a0c9a5674249982f5ca5f8e02bc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeParentPlot</b> (<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *parentPlot)</td></tr>
<tr class="separator:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="aa23c893671f1f6744ac235cf2204cf3a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setParentLayerable</b> (<a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> *<a class="el" href="class_q_c_p_layerable.html#aa78b7e644d2c519e1a9a6f2ac5fcd858">parentLayerable</a>)</td></tr>
<tr class="separator:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="af94484cfb7cbbddb7de522e9be71d9a4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>moveToLayer</b> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *layer, bool prepend)</td></tr>
<tr class="separator:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb663e375d2d36dc5c55021ee5a2119b inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="acb663e375d2d36dc5c55021ee5a2119b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>applyAntialiasingHint</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, bool localAntialiased, <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> overrideElement) const</td></tr>
<tr class="separator:acb663e375d2d36dc5c55021ee5a2119b inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:a6ea37802cd22f97235cab614b14b9f19"><td class="memItemLeft" align="right" valign="top"><a id="a6ea37802cd22f97235cab614b14b9f19"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>connectBars</b> (<a class="el" href="class_q_c_p_bars.html">QCPBars</a> *lower, <a class="el" href="class_q_c_p_bars.html">QCPBars</a> *upper)</td></tr>
<tr class="separator:a6ea37802cd22f97235cab614b14b9f19"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aef28d29d51ef84b608ecd22c55d531ff"><td class="memItemLeft" align="right" valign="top"><a id="aef28d29d51ef84b608ecd22c55d531ff"></a>
<a class="el" href="qcustomplot_8h.html#aa846c77472cae93def9f1609d0c57191">QCPBarDataMap</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mData</b></td></tr>
<tr class="separator:aef28d29d51ef84b608ecd22c55d531ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c4e0f2246f8133f48a9c3f24cf5b920"><td class="memItemLeft" align="right" valign="top"><a id="a7c4e0f2246f8133f48a9c3f24cf5b920"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>mWidth</b></td></tr>
<tr class="separator:a7c4e0f2246f8133f48a9c3f24cf5b920"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94dba1309496c7601d01e2c59715cbb3"><td class="memItemLeft" align="right" valign="top"><a id="a94dba1309496c7601d01e2c59715cbb3"></a>
<a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649">WidthType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mWidthType</b></td></tr>
<tr class="separator:a94dba1309496c7601d01e2c59715cbb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f59c255f3739182ca9744dff75beaa9"><td class="memItemLeft" align="right" valign="top"><a id="a9f59c255f3739182ca9744dff75beaa9"></a>
<a class="el" href="class_q_c_p_bars_group.html">QCPBarsGroup</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mBarsGroup</b></td></tr>
<tr class="separator:a9f59c255f3739182ca9744dff75beaa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0515cf47fa6044cc28e59b1ae5ec759"><td class="memItemLeft" align="right" valign="top"><a id="aa0515cf47fa6044cc28e59b1ae5ec759"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>mBaseValue</b></td></tr>
<tr class="separator:aa0515cf47fa6044cc28e59b1ae5ec759"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad51db970eed7e286f2753b0216fc56de"><td class="memItemLeft" align="right" valign="top"><a id="ad51db970eed7e286f2753b0216fc56de"></a>
QPointer&lt; <a class="el" href="class_q_c_p_bars.html">QCPBars</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mBarBelow</b></td></tr>
<tr class="separator:ad51db970eed7e286f2753b0216fc56de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c1c46076c41a478dbb373cfd35929aa"><td class="memItemLeft" align="right" valign="top"><a id="a0c1c46076c41a478dbb373cfd35929aa"></a>
QPointer&lt; <a class="el" href="class_q_c_p_bars.html">QCPBars</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mBarAbove</b></td></tr>
<tr class="separator:a0c1c46076c41a478dbb373cfd35929aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_q_c_p_abstract_plottable"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_q_c_p_abstract_plottable')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a></td></tr>
<tr class="memitem:ac29ffef424e2488675930de18cde612a inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="ac29ffef424e2488675930de18cde612a"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>mName</b></td></tr>
<tr class="separator:ac29ffef424e2488675930de18cde612a inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a152ac765bedf927fb240545d11d453ea inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a152ac765bedf927fb240545d11d453ea"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mAntialiasedFill</b></td></tr>
<tr class="separator:a152ac765bedf927fb240545d11d453ea inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa115755e525a8e3a86dc683f9cab755b inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="aa115755e525a8e3a86dc683f9cab755b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mAntialiasedScatters</b></td></tr>
<tr class="separator:aa115755e525a8e3a86dc683f9cab755b inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad48660b2bd301576e92fb033d8f455ea inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="ad48660b2bd301576e92fb033d8f455ea"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mAntialiasedErrorBars</b></td></tr>
<tr class="separator:ad48660b2bd301576e92fb033d8f455ea inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67bc0622fd1b9fa14e54c14922dcec66 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a67bc0622fd1b9fa14e54c14922dcec66"></a>
QPen&#160;</td><td class="memItemRight" valign="bottom"><b>mPen</b></td></tr>
<tr class="separator:a67bc0622fd1b9fa14e54c14922dcec66 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10619472f5d5e10e9519a599f1cf5576 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a10619472f5d5e10e9519a599f1cf5576"></a>
QPen&#160;</td><td class="memItemRight" valign="bottom"><b>mSelectedPen</b></td></tr>
<tr class="separator:a10619472f5d5e10e9519a599f1cf5576 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33f00674c0161c13315ab9da0895418e inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a33f00674c0161c13315ab9da0895418e"></a>
QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>mBrush</b></td></tr>
<tr class="separator:a33f00674c0161c13315ab9da0895418e inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea3c0da30c7a8be23ad5f2d9bca36762 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="aea3c0da30c7a8be23ad5f2d9bca36762"></a>
QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>mSelectedBrush</b></td></tr>
<tr class="separator:aea3c0da30c7a8be23ad5f2d9bca36762 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a426f42e254d0f8ce5436a868c61a6827 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a426f42e254d0f8ce5436a868c61a6827"></a>
QPointer&lt; <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mKeyAxis</b></td></tr>
<tr class="separator:a426f42e254d0f8ce5436a868c61a6827 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2901452ca4aea911a1827717934a4bda inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a2901452ca4aea911a1827717934a4bda"></a>
QPointer&lt; <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mValueAxis</b></td></tr>
<tr class="separator:a2901452ca4aea911a1827717934a4bda inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceee52342c8e75727abcbd164986fdcb inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="aceee52342c8e75727abcbd164986fdcb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mSelectable</b></td></tr>
<tr class="separator:aceee52342c8e75727abcbd164986fdcb inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43f68a0603e9bcd016bdfa6d9d5c41c9 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top"><a id="a43f68a0603e9bcd016bdfa6d9d5c41c9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mSelected</b></td></tr>
<tr class="separator:a43f68a0603e9bcd016bdfa6d9d5c41c9 inherit pro_attribs_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_q_c_p_layerable"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_q_c_p_layerable')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:a62e3aed8427d6ce3ccf716f285106cb3 inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="a62e3aed8427d6ce3ccf716f285106cb3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mVisible</b></td></tr>
<tr class="separator:a62e3aed8427d6ce3ccf716f285106cb3 inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2a528433e44db02b8aef23c1f9f90ed inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="aa2a528433e44db02b8aef23c1f9f90ed"></a>
<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mParentPlot</b></td></tr>
<tr class="separator:aa2a528433e44db02b8aef23c1f9f90ed inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3291445a980053e2d17a21d15957624e inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="a3291445a980053e2d17a21d15957624e"></a>
QPointer&lt; <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mParentLayerable</b></td></tr>
<tr class="separator:a3291445a980053e2d17a21d15957624e inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa38ec5891aff0f50b36fd63e9372a0cd inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="aa38ec5891aff0f50b36fd63e9372a0cd"></a>
<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mLayer</b></td></tr>
<tr class="separator:aa38ec5891aff0f50b36fd63e9372a0cd inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ab45a4c76a3333ce42eb217a81733ec inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a id="a3ab45a4c76a3333ce42eb217a81733ec"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mAntialiased</b></td></tr>
<tr class="separator:a3ab45a4c76a3333ce42eb217a81733ec inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a1cdf9df76adcfae45261690aa0ca2198"><td class="memItemLeft" align="right" valign="top"><a id="a1cdf9df76adcfae45261690aa0ca2198"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QCustomPlot</b></td></tr>
<tr class="separator:a1cdf9df76adcfae45261690aa0ca2198"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8429035e7adfbd7f05805a6530ad5e3b"><td class="memItemLeft" align="right" valign="top"><a id="a8429035e7adfbd7f05805a6530ad5e3b"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPLegend</b></td></tr>
<tr class="separator:a8429035e7adfbd7f05805a6530ad5e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1051b4d58a2786cb420367a586e2fee"><td class="memItemLeft" align="right" valign="top"><a id="ae1051b4d58a2786cb420367a586e2fee"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPBarsGroup</b></td></tr>
<tr class="separator:ae1051b4d58a2786cb420367a586e2fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header signals_class_q_c_p_abstract_plottable"><td colspan="2" onclick="javascript:toggleInherit('signals_class_q_c_p_abstract_plottable')"><img src="closed.png" alt="-"/>&#160;Signals inherited from <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a></td></tr>
<tr class="memitem:a3af66432b1dca93b28e00e78a8c7c1d9 inherit signals_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a3af66432b1dca93b28e00e78a8c7c1d9">selectionChanged</a> (bool selected)</td></tr>
<tr class="separator:a3af66432b1dca93b28e00e78a8c7c1d9 inherit signals_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0059caa3f3581f3959660fef8cbb71c4 inherit signals_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a0059caa3f3581f3959660fef8cbb71c4">selectableChanged</a> (bool selectable)</td></tr>
<tr class="separator:a0059caa3f3581f3959660fef8cbb71c4 inherit signals_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header signals_class_q_c_p_layerable"><td colspan="2" onclick="javascript:toggleInherit('signals_class_q_c_p_layerable')"><img src="closed.png" alt="-"/>&#160;Signals inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:abbf8657cedea73ac1c3499b521c90eba inherit signals_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#abbf8657cedea73ac1c3499b521c90eba">layerChanged</a> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *newLayer)</td></tr>
<tr class="separator:abbf8657cedea73ac1c3499b521c90eba inherit signals_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_types_class_q_c_p_abstract_plottable"><td colspan="2" onclick="javascript:toggleInherit('pro_types_class_q_c_p_abstract_plottable')"><img src="closed.png" alt="-"/>&#160;Protected Types inherited from <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a></td></tr>
<tr class="memitem:a661743478a1d3c09d28ec2711d7653d8 inherit pro_types_class_q_c_p_abstract_plottable"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_abstract_plottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> { <a class="el" href="class_q_c_p_abstract_plottable.html#a661743478a1d3c09d28ec2711d7653d8a0fc9a70796ef60ad18ddd18056e6dc63">sdNegative</a>, 
<a class="el" href="class_q_c_p_abstract_plottable.html#a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60">sdBoth</a>, 
<a class="el" href="class_q_c_p_abstract_plottable.html#a661743478a1d3c09d28ec2711d7653d8a02951859f243a4d24e779cfbb5471030">sdPositive</a>
 }</td></tr>
<tr class="separator:a661743478a1d3c09d28ec2711d7653d8 inherit pro_types_class_q_c_p_abstract_plottable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A plottable representing a bar chart in a plot. </p>
<div class="image">
<img src="QCPBars.png" alt="QCPBars.png"/>
</div>
<p>To plot data, assign it with the <a class="el" href="class_q_c_p_bars.html#aa3435aab19e0a49e4e7b41bd36a8d96b">setData</a> or <a class="el" href="class_q_c_p_bars.html#a1f29cf08615040993209147fa68de3f2">addData</a> functions.</p>
<h1><a class="anchor" id="appearance"></a>
Changing the appearance</h1>
<p>The appearance of the bars is determined by the pen and the brush (<a class="el" href="class_q_c_p_abstract_plottable.html#ab74b09ae4c0e7e13142fe4b5bf46cac7">setPen</a>, <a class="el" href="class_q_c_p_abstract_plottable.html#a7a4b92144dca6453a1f0f210e27edc74">setBrush</a>). The width of the individual bars can be controlled with <a class="el" href="class_q_c_p_bars.html#adcaa3b41281bb2c0f7949b341592fcc0">setWidthType</a> and <a class="el" href="class_q_c_p_bars.html#afec6116579d44d5b706e0fa5e5332507">setWidth</a>.</p>
<p>Bar charts are stackable. This means, two <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a> plottables can be placed on top of each other (see <a class="el" href="class_q_c_p_bars.html#ac22e00a6a41509538c21b04f0a57318c">QCPBars::moveAbove</a>). So when two bars are at the same key position, they will appear stacked.</p>
<p>If you would like to group multiple <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a> plottables together so they appear side by side as shown below, use <a class="el" href="class_q_c_p_bars_group.html" title="Groups multiple QCPBars together so they appear side by side. ">QCPBarsGroup</a>.</p>
<div class="image">
<img src="QCPBarsGroup.png" alt="QCPBarsGroup.png"/>
</div>
<h1><a class="anchor" id="usage"></a>
Usage</h1>
<p>Like all data representing objects in <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, the <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a> is a plottable (<a class="el" href="class_q_c_p_abstract_plottable.html" title="The abstract base class for all data representing objects in a plot. ">QCPAbstractPlottable</a>). So the plottable-interface of <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> applies (<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">QCustomPlot::plottable</a>, <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">QCustomPlot::addPlottable</a>, <a class="el" href="class_q_custom_plot.html#af3dafd56884208474f311d6226513ab2">QCustomPlot::removePlottable</a>, etc.)</p>
<p>Usually, you first create an instance: </p><div class="fragment"></div><!-- fragment --><p>add it to the customPlot with <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">QCustomPlot::addPlottable</a>: </p><div class="fragment"></div><!-- fragment --><p>and then modify the properties of the newly created plottable, e.g.: </p><div class="fragment"></div><!-- fragment --></div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a65dbbf1ab41cbe993d71521096ed4649"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65dbbf1ab41cbe993d71521096ed4649">&#9670;&nbsp;</a></span>WidthType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649">QCPBars::WidthType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines the ways the width of the bar can be specified. Thus it defines what the number passed to <a class="el" href="class_q_c_p_bars.html#afec6116579d44d5b706e0fa5e5332507">setWidth</a> actually means.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#adcaa3b41281bb2c0f7949b341592fcc0">setWidthType</a>, <a class="el" href="class_q_c_p_bars.html#afec6116579d44d5b706e0fa5e5332507">setWidth</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a65dbbf1ab41cbe993d71521096ed4649ab74315c9aa77df593c58dd25dfc0de35"></a>wtAbsolute&#160;</td><td class="fielddoc"><p>Bar width is in absolute pixels. </p>
</td></tr>
<tr><td class="fieldname"><a id="a65dbbf1ab41cbe993d71521096ed4649a90bc09899361ad3422ff277f7c790ffe"></a>wtAxisRectRatio&#160;</td><td class="fielddoc"><p>Bar width is given by a fraction of the axis rect size. </p>
</td></tr>
<tr><td class="fieldname"><a id="a65dbbf1ab41cbe993d71521096ed4649aad3cc60ae1bfb1160a30237bee9eaf10"></a>wtPlotCoords&#160;</td><td class="fielddoc"><p>Bar width is in key coordinates and thus scales with the key axis range. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a64006999ad9dff308f40df41cef176ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64006999ad9dff308f40df41cef176ad">&#9670;&nbsp;</a></span>QCPBars()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QCPBars::QCPBars </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
          <td class="paramname"><em>keyAxis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
          <td class="paramname"><em>valueAxis</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructs a bar chart which uses <em>keyAxis</em> as its key axis ("x") and <em>valueAxis</em> as its value axis ("y"). <em>keyAxis</em> and <em>valueAxis</em> must reside in the same <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance and not have the same orientation. If either of these restrictions is violated, a corresponding message is printed to the debug output (qDebug), the construction is not aborted, though.</p>
<p>The constructed <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a> can be added to the plot with <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">QCustomPlot::addPlottable</a>, <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> then takes ownership of the bar chart. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1f29cf08615040993209147fa68de3f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f29cf08615040993209147fa68de3f2">&#9670;&nbsp;</a></span>addData() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::addData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="qcustomplot_8h.html#aa846c77472cae93def9f1609d0c57191">QCPBarDataMap</a> &amp;&#160;</td>
          <td class="paramname"><em>dataMap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds the provided data points in <em>dataMap</em> to the current data. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1fe9bcb57d670defea1bb65cadf43765">removeData</a> </dd></dl>

</div>
</div>
<a id="a142158b1addefd53259002dd3ab22c3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a142158b1addefd53259002dd3ab22c3a">&#9670;&nbsp;</a></span>addData() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::addData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_q_c_p_bar_data.html">QCPBarData</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Adds the provided single data point in <em>data</em> to the current data. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1fe9bcb57d670defea1bb65cadf43765">removeData</a> </dd></dl>

</div>
</div>
<a id="a684dd105403a5497fda42f2094fecbb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a684dd105403a5497fda42f2094fecbb7">&#9670;&nbsp;</a></span>addData() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::addData </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Adds the provided single data point as <em>key</em> and <em>value</em> tuple to the current data </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1fe9bcb57d670defea1bb65cadf43765">removeData</a> </dd></dl>

</div>
</div>
<a id="a3679a0a9decab0fa03f8f4c6e3344d52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3679a0a9decab0fa03f8f4c6e3344d52">&#9670;&nbsp;</a></span>addData() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::addData </td>
          <td>(</td>
          <td class="paramtype">const QVector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>keys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Adds the provided data points as <em>key</em> and <em>value</em> tuples to the current data. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1fe9bcb57d670defea1bb65cadf43765">removeData</a> </dd></dl>

</div>
</div>
<a id="ab97f2acd9f6cb40d2cc3c33d278f0e78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab97f2acd9f6cb40d2cc3c33d278f0e78">&#9670;&nbsp;</a></span>barAbove()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_bars.html">QCPBars</a> * QCPBars::barAbove </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the bars plottable that is directly above this bars plottable. If there is no such plottable, returns 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1b58664864b141f45e02044a855b3213">barBelow</a>, <a class="el" href="class_q_c_p_bars.html#a69fc371346980f19177c3d1ecdad78ee">moveBelow</a>, <a class="el" href="class_q_c_p_bars.html#ac22e00a6a41509538c21b04f0a57318c">moveAbove</a> </dd></dl>

</div>
</div>
<a id="a1b58664864b141f45e02044a855b3213"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b58664864b141f45e02044a855b3213">&#9670;&nbsp;</a></span>barBelow()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_bars.html">QCPBars</a> * QCPBars::barBelow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the bars plottable that is directly below this bars plottable. If there is no such plottable, returns 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#ab97f2acd9f6cb40d2cc3c33d278f0e78">barAbove</a>, <a class="el" href="class_q_c_p_bars.html#a69fc371346980f19177c3d1ecdad78ee">moveBelow</a>, <a class="el" href="class_q_c_p_bars.html#ac22e00a6a41509538c21b04f0a57318c">moveAbove</a> </dd></dl>

</div>
</div>
<a id="a11dbbd707132f07f862dff13c5789c2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11dbbd707132f07f862dff13c5789c2b">&#9670;&nbsp;</a></span>clearData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::clearData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Removes all data points. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1fe9bcb57d670defea1bb65cadf43765">removeData</a>, <a class="el" href="class_q_c_p_bars.html#a99de6e7abbbf03fb41fa604c7f08aa8b">removeDataAfter</a>, <a class="el" href="class_q_c_p_bars.html#a9d12779a3fad4820aad2c428f368298d">removeDataBefore</a> </dd></dl>

<p>Implements <a class="el" href="class_q_c_p_abstract_plottable.html#a86e5b8fd4b6ff4f4084e7ea4c573fc53">QCPAbstractPlottable</a>.</p>

</div>
</div>
<a id="ac22e00a6a41509538c21b04f0a57318c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac22e00a6a41509538c21b04f0a57318c">&#9670;&nbsp;</a></span>moveAbove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::moveAbove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_bars.html">QCPBars</a> *&#160;</td>
          <td class="paramname"><em>bars</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Moves this bars plottable above <em>bars</em>. In other words, the bars of this plottable will appear above the bars of <em>bars</em>. The move target <em>bars</em> must use the same key and value axis as this plottable.</p>
<p>Inserting into and removing from existing bar stacking is handled gracefully. If <em>bars</em> already has a bars object below itself, this bars object is inserted between the two. If this bars object is already between two other bars, the two other bars will be stacked on top of each other after the operation.</p>
<p>To remove this bars plottable from any stacking, set <em>bars</em> to 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a69fc371346980f19177c3d1ecdad78ee">moveBelow</a>, <a class="el" href="class_q_c_p_bars.html#a1b58664864b141f45e02044a855b3213">barBelow</a>, <a class="el" href="class_q_c_p_bars.html#ab97f2acd9f6cb40d2cc3c33d278f0e78">barAbove</a> </dd></dl>

</div>
</div>
<a id="a69fc371346980f19177c3d1ecdad78ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69fc371346980f19177c3d1ecdad78ee">&#9670;&nbsp;</a></span>moveBelow()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::moveBelow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_bars.html">QCPBars</a> *&#160;</td>
          <td class="paramname"><em>bars</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Moves this bars plottable below <em>bars</em>. In other words, the bars of this plottable will appear below the bars of <em>bars</em>. The move target <em>bars</em> must use the same key and value axis as this plottable.</p>
<p>Inserting into and removing from existing bar stacking is handled gracefully. If <em>bars</em> already has a bars object below itself, this bars object is inserted between the two. If this bars object is already between two other bars, the two other bars will be stacked on top of each other after the operation.</p>
<p>To remove this bars plottable from any stacking, set <em>bars</em> to 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a69fc371346980f19177c3d1ecdad78ee">moveBelow</a>, <a class="el" href="class_q_c_p_bars.html#ab97f2acd9f6cb40d2cc3c33d278f0e78">barAbove</a>, <a class="el" href="class_q_c_p_bars.html#a1b58664864b141f45e02044a855b3213">barBelow</a> </dd></dl>

</div>
</div>
<a id="a1fe9bcb57d670defea1bb65cadf43765"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fe9bcb57d670defea1bb65cadf43765">&#9670;&nbsp;</a></span>removeData() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::removeData </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>fromKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>toKey</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes all data points with key between <em>fromKey</em> and <em>toKey</em>. if <em>fromKey</em> is greater or equal to <em>toKey</em>, the function does nothing. To remove a single data point with known key, use <a class="el" href="class_q_c_p_bars.html#a837cc9848ad3edd40a6130b508493f93">removeData(double key)</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1f29cf08615040993209147fa68de3f2">addData</a>, <a class="el" href="class_q_c_p_bars.html#a11dbbd707132f07f862dff13c5789c2b">clearData</a> </dd></dl>

</div>
</div>
<a id="a837cc9848ad3edd40a6130b508493f93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a837cc9848ad3edd40a6130b508493f93">&#9670;&nbsp;</a></span>removeData() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::removeData </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Removes a single data point at <em>key</em>. If the position is not known with absolute precision, consider using <a class="el" href="class_q_c_p_bars.html#a1fe9bcb57d670defea1bb65cadf43765">removeData(double fromKey, double toKey)</a> with a small fuzziness interval around the suspected position, depeding on the precision with which the key is known.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1f29cf08615040993209147fa68de3f2">addData</a>, <a class="el" href="class_q_c_p_bars.html#a11dbbd707132f07f862dff13c5789c2b">clearData</a> </dd></dl>

</div>
</div>
<a id="a99de6e7abbbf03fb41fa604c7f08aa8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99de6e7abbbf03fb41fa604c7f08aa8b">&#9670;&nbsp;</a></span>removeDataAfter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::removeDataAfter </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes all data points with key greater than <em>key</em>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1f29cf08615040993209147fa68de3f2">addData</a>, <a class="el" href="class_q_c_p_bars.html#a11dbbd707132f07f862dff13c5789c2b">clearData</a> </dd></dl>

</div>
</div>
<a id="a9d12779a3fad4820aad2c428f368298d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d12779a3fad4820aad2c428f368298d">&#9670;&nbsp;</a></span>removeDataBefore()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::removeDataBefore </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes all data points with key smaller than <em>key</em>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#a1f29cf08615040993209147fa68de3f2">addData</a>, <a class="el" href="class_q_c_p_bars.html#a11dbbd707132f07f862dff13c5789c2b">clearData</a> </dd></dl>

</div>
</div>
<a id="a62d66cc8eedca6bedfc1f6513164d418"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62d66cc8eedca6bedfc1f6513164d418">&#9670;&nbsp;</a></span>selectTest()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double QCPBars::selectTest </td>
          <td>(</td>
          <td class="paramtype">const QPointF &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>onlySelectable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVariant *&#160;</td>
          <td class="paramname"><em>details</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This function is used to decide whether a click hits a layerable object or not.</p>
<p><em>pos</em> is a point in pixel coordinates on the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> surface. This function returns the shortest pixel distance of this point to the object. If the object is either invisible or the distance couldn't be determined, -1.0 is returned. Further, if <em>onlySelectable</em> is true and the object is not selectable, -1.0 is returned, too.</p>
<p>If the object is represented not by single lines but by an area like a <a class="el" href="class_q_c_p_item_text.html">QCPItemText</a> or the bars of a <a class="el" href="class_q_c_p_bars.html">QCPBars</a> plottable, a click inside the area should also be considered a hit. In these cases this function thus returns a constant value greater zero but still below the parent plot's selection tolerance. (typically the selectionTolerance multiplied by 0.99).</p>
<p>Providing a constant value for area objects allows selecting line objects even when they are obscured by such area objects, by clicking close to the lines (i.e. closer than 0.99*selectionTolerance).</p>
<p>The actual setting of the selection state is not done by this function. This is handled by the parent <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> when the mouseReleaseEvent occurs, and the finally selected object is notified via the selectEvent/deselectEvent methods.</p>
<p><em>details</em> is an optional output parameter. Every layerable subclass may place any information in <em>details</em>. This information will be passed to selectEvent when the parent <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> decides on the basis of this selectTest call, that the object was successfully selected. The subsequent call to selectEvent will carry the <em>details</em>. This is useful for multi-part objects (like <a class="el" href="class_q_c_p_axis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>). This way, a possibly complex calculation to decide which part was clicked is only done once in <a class="el" href="class_q_c_p_bars.html#a62d66cc8eedca6bedfc1f6513164d418">selectTest</a>. The result (i.e. the actually clicked part) can then be placed in <em>details</em>. So in the subsequent selectEvent, the decision which part was selected doesn't have to be done a second time for a single selection operation.</p>
<p>You may pass 0 as <em>details</em> to indicate that you are not interested in those selection details.</p>
<dl class="section see"><dt>See also</dt><dd>selectEvent, deselectEvent, <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>

<p>Implements <a class="el" href="class_q_c_p_abstract_plottable.html#a38efe9641d972992a3d44204bc80ec1d">QCPAbstractPlottable</a>.</p>

</div>
</div>
<a id="aedd1709061f0b307c47ddb45e172ef9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedd1709061f0b307c47ddb45e172ef9a">&#9670;&nbsp;</a></span>setBarsGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::setBarsGroup </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_bars_group.html">QCPBarsGroup</a> *&#160;</td>
          <td class="paramname"><em>barsGroup</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets to which <a class="el" href="class_q_c_p_bars_group.html" title="Groups multiple QCPBars together so they appear side by side. ">QCPBarsGroup</a> this <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a> instance belongs to. Alternatively, you can also use <a class="el" href="class_q_c_p_bars_group.html#a809ed63cc4ff7cd5b0b8c96b470163d3">QCPBarsGroup::append</a>.</p>
<p>To remove this <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a> from any group, set <em>barsGroup</em> to 0. </p>

</div>
</div>
<a id="a574ec7eb7537566df1a28ff085d75623"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a574ec7eb7537566df1a28ff085d75623">&#9670;&nbsp;</a></span>setBaseValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::setBaseValue </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>baseValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the base value of this bars plottable.</p>
<p>The base value defines where on the value coordinate the bars start. How far the bars extend from the base value is given by their individual value data. For example, if the base value is set to 1, a bar with data value 2 will have its lowest point at value coordinate 1 and highest point at 3.</p>
<p>For stacked bars, only the base value of the bottom-most <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a> has meaning.</p>
<p>The default base value is 0. </p>

</div>
</div>
<a id="aa3435aab19e0a49e4e7b41bd36a8d96b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3435aab19e0a49e4e7b41bd36a8d96b">&#9670;&nbsp;</a></span>setData() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::setData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="qcustomplot_8h.html#aa846c77472cae93def9f1609d0c57191">QCPBarDataMap</a> *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Replaces the current data with the provided <em>data</em>.</p>
<p>If <em>copy</em> is set to true, data points in <em>data</em> will only be copied. if false, the plottable takes ownership of the passed data and replaces the internal data pointer with it. This is significantly faster than copying for large datasets. </p>

</div>
</div>
<a id="a3efded5df4a82ecb201f7c28099fa2e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3efded5df4a82ecb201f7c28099fa2e5">&#9670;&nbsp;</a></span>setData() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::setData </td>
          <td>(</td>
          <td class="paramtype">const QVector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Replaces the current data with the provided points in <em>key</em> and <em>value</em> tuples. The provided vectors should have equal length. Else, the number of added points will be the size of the smallest vector. </p>

</div>
</div>
<a id="afec6116579d44d5b706e0fa5e5332507"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afec6116579d44d5b706e0fa5e5332507">&#9670;&nbsp;</a></span>setWidth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::setWidth </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the width of the bars.</p>
<p>How the number passed as <em>width</em> is interpreted (e.g. screen pixels, plot coordinates,...), depends on the currently set width type, see <a class="el" href="class_q_c_p_bars.html#adcaa3b41281bb2c0f7949b341592fcc0">setWidthType</a> and <a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649">WidthType</a>. </p>

</div>
</div>
<a id="adcaa3b41281bb2c0f7949b341592fcc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcaa3b41281bb2c0f7949b341592fcc0">&#9670;&nbsp;</a></span>setWidthType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPBars::setWidthType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649">QCPBars::WidthType</a>&#160;</td>
          <td class="paramname"><em>widthType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets how the width of the bars is defined. See the documentation of <a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649">WidthType</a> for an explanation of the possible values for <em>widthType</em>.</p>
<p>The default value is <a class="el" href="class_q_c_p_bars.html#a65dbbf1ab41cbe993d71521096ed4649aad3cc60ae1bfb1160a30237bee9eaf10">wtPlotCoords</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_bars.html#afec6116579d44d5b706e0fa5e5332507">setWidth</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/charts/qcustomplot/<a class="el" href="qcustomplot_8h_source.html">qcustomplot.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/charts/qcustomplot/<a class="el" href="qcustomplot_8cpp.html">qcustomplot.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
